package com.edais.service;

import java.util.List;
import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.edais.vo.OrderListVo;

import net.sf.json.JSONObject;

@Service

public interface OrderService {
	/**订单列表*/
	public String getOrdeInfoList(Map<String, Object> map) throws Exception;

	/**债权详情*/
	public String getCreditInfoList(Map<String, Object> map) throws Exception;
	
	/**
	 * 
	 * @Description: 根据订单id查询订单详情
	 * @param map
	 * @return
	 * @throws Exception   
	 * @return String  
	 * @author qibo
	 * @date 2015-9-4 下午3:54:54
	 */
	public String getOrderFormDetails(Map<String, Object> map) throws Exception;
	
	/**查询订单列表（返回LIST）*/
	public List<OrderListVo> queryOrderList(Map<String,Object> map) throws Exception;
	
	/**查询订单金额*/
	public String getOrderInvestAmount(Map<String,String> map) throws Exception;
	/**查询可投资金额(优享计划)*/
	public String getOrderInvestAmountForEnjoy(Map<String,String> map) throws Exception;

	/** 保存PDF文件路径到订单信息表中 */
	public String savePDFPathOfOrder(Map<String, Object> map)throws Exception;
	/**
	 * @author gongyl
	 * @Description:下载合同-根据pdf文件路径下载用户的合同 ， E400003=getPDFPathAction
	 * @param map
	 * @return：map
	 * @throws ActionException 
	 * @time:2016年12月09日
	 */
	String getPDFPathByOrderId(Map<String, Object> map) throws Exception;
	
	public Map<String, Object> queryCusOrderList(String logInfo, Map<String, Object> params)throws Exception;

	/**
	 * 印章订单列表管理
	 * @date 2016-12-22
	 * @author gongyl
	 * @throws Exception
	 */
	public String getOrderList4Seal(Map<String, Object> map)throws Exception;
	/**
	 * 盖章按钮
	 * @date 2016-12-22
	 * @author gongyl
	 * @throws Exception
	 */
	public void doSeal(Map<String, Object> map)throws Exception;

}
